<?php 
include ("config.inc.php");

	// CLIENT INFORMATION
	$username     = htmlspecialchars(trim($_POST['username']));
	$password     = htmlspecialchars(trim($_POST['password']));
	$fname        = htmlspecialchars(trim($_POST['fname']));
	$lname        = htmlspecialchars(trim($_POST['lname']));
	$email        = htmlspecialchars(trim($_POST['email']));

    $addClient  = "INSERT INTO clients (username,password,fname,lname,email) VALUES ('$username','$password','$fname','$lname','$email')";
    mysql_query($addClient) or die(mysql_error());
	$c_id = mysql_insert_id();
?>